<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />	

	<link type="image/x-icon" href="<?php echo Yii::app()->baseUrl; ?>/images/icon.ico" rel="shortcut icon" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/css/bootstrap.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/css/bootstrap-responsive.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/css/jquery.ui.core.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/css/jquery.ui.tabs.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/css/jquery.ui.datepicker.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/css/jquery.ui.theme.css" />
	
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/css/main.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/css/form.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/css/nivo-slider.css" />

	<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/jquery.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/jquery-ui.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/jquery.nivo.slider.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/myscripts.js"></script>
		
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
	<?php
	$cs = Yii::app()->clientScript;
  $cs->scriptMap = array(
  	'jquery.js' => false,
    'jquery.min.js' => false,
  	'jquery-ui.js' => false,
  	'jquery-ui.min.js' => false,
  ); 
	?>
	<script type="text/javascript">
		var baseUrl = '<?php echo Yii::app()->request->baseUrl; ?>';
		$(function() {
			$(".tip").tooltip();
	    $("#slider").nivoSlider();
	    $(".signin").toggle(
	   		function() {$("#signin_menu").show();}, 
	   		function() {$("#signin_menu").hide();}
	   	);
	   	$(".login-mini").hover(function(){
	   	  	$(".login-mini-content").show();
  	    },function(){
  	    	$(".login-mini-content").hide();
	  	});
		});
	</script>
	
</head>

<body>
<div id="wrapper">
	<div class="sun"></div>
	<div class="container" id="page">
	
		<?php $this->widget('widget_header')?>
	 
	  <?php $this->widget('widget_menu')?>	
	  
		<?php if(isset($this->breadcrumbs)):?>
			<?php $this->widget('zii.widgets.CBreadcrumbs', array(
				'links'=>$this->breadcrumbs,
			  'tagName'=>'ul',
				'separator'=>'',
			  'homeLink'=>'<li><a href="'.Yii::app()->homeUrl.'">'.Yii::t('zii','Home').'</a> <span class="divider">/</span></li>',
			  'activeLinkTemplate'=>'<li><a href="{url}">{label}</a> <span class="divider">/</span></li>',
				'inactiveLinkTemplate'=>'<li class="active">{label}</li>',
			  'htmlOptions'=>array(
					'class'=>'breadcrumb'
				)
			)); ?><!-- breadcrumbs -->
		<?php endif?>
	
		<?php echo $content; ?>
	
		<div class="clear"></div>
	
		<?php $this->widget('widget_footer')?>
	
	</div><!-- page -->
</div>
<div id="grass"></div>
</body>
</html>
